basic Doctrine settings, templates cleanup, EntityForm init