Add cache_file, cache_time, cache_time_data

Add cache_file, cache_time, cache_time_data to the constructor.