Added postgres database pool from ventistipes, started on config

The database pool is almost directly copied from ventistipes, not yet
used. Only difference here is that the connection info isn't preprocessed.
Next to that mainly started working on the config files, also added a
sample configuration file.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>