fixed #3: removed global db
Merge branch 'master' of https://github.com/nbar1/gs