Add support for configuration files. Now this supports (up to) 11 nodes.