Made changes to support use with PostgreSQL

Added NPGSQL

Modified application to use integers for identity columns, rather than
GUIDs