Add copyright
replace if,else by a switch
waiting for reply: wait 5s and check every second
use shutdownNode action instead BootNode
Add bootDuration parameter
Add doc and comments
Merge branch 'master' into develop