basic skeleton for mongodb storage