Spin postgres stuff mostly done