working release, in progress templates + websocket