Web framework for realtime application