Added possibility to not initialize doctrine ORM