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

Also fixed a minor formatting issue.