Configure Doctrine instance & objects mapping.