use configfile instead of hardcoding values into init file

This PR makes use of a config json in the config dir.
It is rebased to your current master, so it still uses the artificial console_ui path for the web ui, and would need further adjustment should you decide to merge #11.
Just tell me to rebase and I'll happily do so.