Set up server sent events with eventsource

Also changed endpoint formats and updates docs