Autoloader function

Autoloads classes. Caches known paths do classes files.