class name change + gets and puts method in main.rb file + change regex to constant