remove unneeded io operations
New btree interface
Add tree node  test
Update pack interface