Refactor runner to support different command types.
Update README.md