[WIP] PIM-1585: Create configuration to switch between ORM and ODM

Bug fix: [no]
Feature addition: [yes]
Backwards compatibility break: [no]
Checkstyle issues: [no]*
ChangeLog updated: [no]
Fixes the following jira:
 - PIM-1585