Leave commands executor to a separate class.