exported user messages to a separate class as constants
removed redundant variable formatted
changed to string.isEmpty()
code reformatted
fixed bug with exit confirmation