updated autoload function, and readme