Make Config a class, i.e. useful not only for nodes