changed some methods in bintree and loaded the btree into memory on
application init