- Added balanced tree management stuff as well. (It is not finished yet.)