implementing a way to remove all commands

using removeCommands passing no argument