refactored BTree.  added HR dir.