Update: support config host etc.
Merge pull request #1 from guanbo/master

Update: support config host etc.