Add btree header implementation