Converted existing code to the pipes and filters architecture.