adding initial code for porting data to mongo