In lego mindstorm EV3, can you make the individual programs in a project into functions which can be used in the other programs?
You can turn parts of your program into custom blocks by selecting them and choosing Tools -> My Block Builder from the menu. See https://www.youtube.com/watch?v=CApCoGQJRcU for a  tutorial on this feature.