Added Command class which implements ICommand.