Adding endpoint components as modules under event-input-adaptor and event-output-adaptor components