Replaced envoodoo by config.json

Basically the same changes as in the server. Updated example config a bit.