removed mongoDB and replaced by local config file