Added gemfile; Factored network responses to lines