Added postgresql support.
Merge pull request #75 from razielgn/master

Postgres support