Implemented basic PSQL setup.