Refactored root ranges to contain content drivers.

Added a ContentDriver class for the root to delegate edit/view primitives.
Also cleaned up whitespace.