the basic api for cloud9 realtime