Begin adding message writer for mongodb