Modified SalesState, also added IOHelper

Call methods in IOHelper instead of in your class. That way you we
don’t need to have things EVERYWHERE.

Also, I included a Println(String) method, so that we can update the UI
text field when we get one instead of system.out.println everywhere