Add leveldb and some simple db utils