Adding basic autoload function, no tests