migrate test and dev db to pg
add parties to db
fix search bug in js
add views and routes for new workflow