Add Eventsource shim and support for customized/extra templates