Updated Postgres view to be served by IPT. Closes #1.