Add spl_autoload_register

Autoloader updated with php-fig psr4 standards
Fix class loader
Add validation for namespace and loads file from basepath