Switch to realtime updates via websocket, move html to it's own resource, tweaks