Read mongodb connection from config

I'm not sure if this is enough, but it is straight forward to get it reading from config. 

Would you like to see this specced?