Refactor database generation script
Convert an array of redis keys to a ruby hash
Add chartkick deps
Add .js for chartkick