Finish chapter 3, Integrate PostgreSQL