add Message-class and parse command line