version 1 fully working: new objects for building chessboard and html from it