Scaffolding for BTree implementation