Create pages controller, switch to pg database for dev