Merge pull request #6 from htynkn/master

Add global setting support
Some small refactoring and bump version to 0.9.3