Refactor resource cache key generation
Add CodeClimate badge to README