- implemented CLI commands 'create' and 'setNode'
- added extra check to disconnect()