Framework for building realtime webapps