add figaro gem and configure app
update js file to only call game function with game page, update to use env vars.