Added support for responding to commands, operators and learning new commands