Merge pull request #2 from collectivism/develop

Change static class to singleton
Spl_autoload_register added. Autoloader updated with php-fig psr4 standards.
Class loader fixed.