adds gemfile and fixes some code hihglihgts