more encapsulation

- added 'addNode' method (working)
- drawing nodes works