Refactor BEMTREE
Merge pull request #86 from bem/refactorBemtree@leveldb

Refactor BEMTREE