Connect to database

Oh boy! It now connects to a PostgreSQL database! Might need to edit
that YAML file for your own.