modularized client-side lunch room code, and started modularizing chat room code