Adding gemfile and tweaking config