Added possible direction to messages.
Refactoring direction bits.
Graphical representation for Graph.