add postgres module and dependencies