Modified class autoloader to support namespaces.
Split class autoloader into separate functions by loading method and type.
Removed old DbException.