Add settings API
Merge pull request #14 from vis7mac/settingapi

Add settings API