Extracting a class to handle help messages