Some more tidy-up and fixing khans invalid environment name as well as setting up symfony's DB config