reworked namespace and classes, upgraded autoloading to PSR-4