[ER] Refactor process graph into ProcessGraphBuilder.
[ER] Refactored ProcessInfo into separate header.