Improved dispatching by written class:

- Removed dispatcher
- Removed node
- Added Node class constructing tree and dispatching one self.