Autoloader function

Autoloads classes. Caches known paths to classes files.