Initial commit of basic implementation for PostgreSQL