SSE, basic web api
moved state to ngale.app, refactored