add Config based on Doctrine Configuration