If you want to reuse code in a modular sence than the Aggregate object will work. Although it works best to start the development with the intent to reuse that segment of code.
Look at the Sequencer Object Example from the Developer Zone. Follow the README file to copy all files into the Lookout/Examples folder. The Help_Template is an Aggregate process that was used many times in different examples for the web. The state file, .l4t, holds the text that gives further details on the development of the example. The Sequencer process has an Aggregate object used in it to open the Help_template.
Sequence Example