Prepared the base for graph drawing. At this moment only single branch is implemented #9