Fixed error in an example. Fixed bugs in reading of configuration files. Added option to set the IP address of the node manually. Improved functionality of the beacon.