[FEATURE] Make db configurable with URL string.
[CHORE] Remove redundant code from db config.
Merge pull request #4 from stevenzeiler/master

Configure database using POSTGRES_URL environment variable.