Added crud opts to mongo. still need to work out data flow