change position of functions
removed SquareService
resovle merge conflicts
refactor chess_game.js
resolved merge conflicts