Moved mongo to new file