Removed cache_name from settings and cleaned up library file