Added Cache Functionality
refactored Code for caching
Merge branch 'master' of git@github.com:ssachtleben/herowar.git