Code style - added explicit visibility declaration to extension functions
Changed visibility of entity properties to protected
Proper initialization of User->roles
Added to entities property type hints
Renamed class Model to Models/DoctrineModel