Object orientation of lobby code