refactoring and bugfixes
* add CPM
* add license
* add profiler * add protected rawCall function to make direct call to the db