Add a subcommand mechanism