use db parameter instead of member variable
Merge branch 'master' of https://github.com/chadmichel/Korben