[~TASK] Removed unused class imports
[~TASK] ORM DB config refactoring

* Added resource name option to entity type config
* Changed references to entity type to from full entity type name to
  resourcename
[~TASK] Added query mapper service locator