Added wrapper functions and a Lobby class