Refactored pipeline nodes to start and stop. Added input and output parameters to task.