Added connectpostgresql method.  Sanitize construc