Added postgres module
Revert "Added postgres module"

This reverts commit a91f1d804077aa674590633ac564ba668ed58ae2.
Added postgres properly (still some problems)