Starts mongodbness and registering