#386 Fixed storing Entity
#386 Linked relations are now stored via Doctrine
#386 Corrected proxy generation for development