Basic configuration, connection to MongoDB, and simple test of inserting and fetching