ADDED: Initial commit of base caching code