Adding callback style main function.
Messing with what we print.
Factoring the printer.