Added initial caching excution during setup, a cron job for refreshing the cache, and log rotation