Refactoring of game server. Deleted unused functions and added comments
refactoring gameServer