instead of making cmdToFunc_ a member i made it so there is a pure virtual function in the base program runner createCmdToFunc() so every program has to call this.