improving realtime file structure.  finishing client API for joining/leaving rooms