Added main methods to gameclient and gameserver