Using mongoosejs to connect to MongoDB

closes #17