Fixed autoloader and added cache
Added cache directory