refactoring into classes again, moved unecessary methods out of class Hangman