Piece class creation