refactored postgres dependent parts into Snap.Snaplet.Persistent.Postgres