fix minor remarks
move the network device (and bonding) logic to separate sub