begin app file and gemfile