adds module that defines paths from point A to point B