Implemented getSettings
Added getSettings tests
Merge pull request #4 from jazzzz/getsettings

Implemented getSettings