Tom/Eduardo - moving the logging into a module.
Tom/Eduardo - adding code to configure a replicaset.