Format output from running Main class