add Gemfile and update config files