Extract a good bunch of utilities
A seemingly working pg interfacing library
Some more pg transactions work