Updated project to use mongoDB