Update memory map management using binary search tree.

Add binary search tree routines.
Adjust ROM interfaces.