Add thor, update gemfile