Tidy up and remove some constants in favour of app_config, and set up defaults properly for app_config paths