Moved mongo setup method for heroku to helpers