better piece class

better piece class