using leveldb. added base of account mngmt