Started implementation of lobby system and moved connection handling to own class.