mongo integration

first attempt at integrating mongo db