add config handling, moved over from JeeBus