changed to postgres
fixed infinite urgency bug
added contact type