Add cache_file, cache_time, cache_time_data

Add cache_file, cache_time, cache_time_data to the constructor.
Merge pull request #2 from sgasser/patch-2

Add cache_file, cache_time, cache_time_data