Setting up the default MongoDB connection definition.
Made the resources directory writable.