Add BKNode and BKTree classes