Added MongoDB

Added the ability to use database through MongoDB