Made the functions in backend.rb into a class called MassText and updated console.rb to take this into account