moved locations to mongo collection and changed the settings file