(#114) - Implement compaction stuff for leveldb
(#114) - fix naming in idb