Fixed the previous edit error of moving chatroom variable into a private space
Added a REPL socket exposing clients and app