cleaning up the autoloading system and commenting it sanely