Simplified autoloader by @edorian