Refactoring for PSR-0 autoloader