Console class accepts user input