Initial draft for php caching wrapper (with memcache)