Doctrine 2 - ORM

[GH-642] replaced direct class in instance creation