Added LobbyCommunication.js

Moved all the server-lobby side functions to its own class.