clean up symfony and doctrine