Latest working code
updated gameclient to seperate from chat client