Public -> Index.js -> removed unused methods
public -> Index.js -> added missed 'var' keywords for cycle variables, added missing semicolon
Server-side refactored, define 2 models: game and player, moved corresponding code there, extracted separate network player