remove dependance to doctrine orm