Major architectural changes.

MAJOR UPDATE Most object literal classes have been removed. Classes with
little functionality have been combined into existing larger classes.