Add pretty printer. Convert formatter to use Text.PrettyPrint. Add CLI arg parsing