- Refactored a bunch of the caching code and added configuration options.
- Better error reporting and debugging
- Added a bunch of helper functions to execution context