implemented several extra functions
added all functions
Merge branch 'master' of https://github.com/junhe/cloud-storage
added a switch for memcache