Move all command code into its own directory