[Finishes #71] Converted to postgress, with handy-dandy perl script