A web framework for complex realtime web apps