remove circular-ellipse antipattern in Piece.java and other code cleaning