Finished the CacheControl class. Need to test it but seems to be working.