B-tree, LRU caching, fixed some bugs