factories for db connections
Merge pull request #10 from camwhite/db-factories

factories for db connections