Added path generation and outbound arcs. Fixed node creation logic