Changed to Postgresql
Added gem to use pg.
End of ch 2
end of ch 3.