make db a param in creating app so different consumers can use different dbs
Merge pull request #4 from open-app/paramify-db

make db a param in creating app to support different dbs