fixed class name and externalized cache_dir path