Introduced PostgreSQL database backend

Co-authored by: @AaronVanGeffen