refactor cache class
add railtie to include controller and model methods
update gemspec
update dummy app