Mongo db

Merging database set up and connection into master as it works with seeded databases.