debrepos updates; using postgresql; more work on pyramid app