Load settings from doctrine