Refactor

 - pretty printers moved to pretty module
 - command and subcommands get own module