add global settings

support host and uihost setting
Merge pull request #33 from obingo/master

add global settings