Code release preparations

License, restructuring, cleanup and deactivated nonfunctional "addnode"
sections