work on srl.
Merge branch 'master' of github.com:dlwh/epic
some refactoring
added caching to key pieces...