Collaborative Algorithms with Parameter Control -- An Event-Driven Software Architecture