refactored NodeController
Merge branch 'release-1.0' of https://github.com/arista-eosplus/ztpserver into release-1.0