now instantiating the objects in chess.html