removed hardcoded statics, allow for local_settings

This will allow easier deployment of the repository in different environments.