Implemented cache checker

Cache checker working. App now correctly checks cached date of a file
for correctness,.