corrections
now storing player connections in a hashmap
refactoring