add gemfile, add some deps to gemspec, update to use rails.cache