Added doctrine annotation setup
Fixed bug with doctrine config