Updates to endpoint config and mediator syntax

Signed-off-by: Lahiru Chandima <lahiruchandima@Lahirus-MacBook-Pro.local>