Start of Bussines logic (PathGraph & Node)