Append MainWithMethods class, rename WriteOutputChecker to ResultToConsoleWriter, create ResultToFileWriter