Changes to doctrine, added db/entities for internal entities.
Finally got orm-tool working without CLI on hosting. Must refacto scripts, and build more complete script-runner/handler