Modifying for doctrine entities.
~ Many syntax fixes
~ Most of the conversion to Doctrine
~ turn off proxies
~ turn on cascades
~ finish conversion to Doctrine
- removed access objects