starting work on converting to mongodb data storage