Cache layer refactor
Add ability to clear cache
Log cache actions