Moved doctrine config to xml files