Complete refactoring of UseCommandRunner
Tests for UseCommandRunner