Enhanced cache prototype to use deferreds
Adapted cache prototype to accomodate a blocking, deferred to thread call that waits a few seconds; added automatic refresh feature