Introduced PostgreSQL database backend

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>