Initial configuration implementation

* Pub/Sub mechanisme via Postgres listen/notify
* Caching of configs + invalidation over pub/sub
* Getting / Updating configs
The messages in this function and the function above are exactly the same. Maybe we should make them a bit more specific?