removed mongo interface, will flush to disk in csv files