finish: first integration of postgres and mongodb