Updates latest node_modules.
Refactors setupBoard/setupPieces fuction.