Namespaced

Namespaced the entire framework.
Also cleaned up a bunch of legacy crap that shouldn't be in this library.