added helper methods and tests, modified display class to consolidate help messages and add invalid input message