Split off the pretty print stuff into its own file