Added autoloading. Updated dependencies.
Fixed incorrect namespaces.
Fixed autoloading to work with phar.