updated routes
added config file for mongo