add piece class, more functions
add board object