working postgres database stuff
Merge pull request #1 from Colt/master

working postgres database stuff