leveldb-powered functional entity system