moved mongodb stuff to config file...