Added autoloader, removed require statements