redo the whole config stuff

Signed-off-by: Steven Koeberich <skoeberich@nrecom.net>