added base source path and modified for doctrine