Refactor

Namespaced, reorganized, changed to spl autoloader.
Moved dbconf out of bootstrap

Lots done, more to do.