A framework for Realtime Web Apps