Added leveldb support (more to come)