ditched pg factor and junk, back to sqlite for local demo