small refactoring + disabled adding additional source or target on goal nodes, breakpoints (only one in and one out) and boundaries (only one)