added nedb as flat-file data storage