Refactor Piece to real class part1.
Finish Piece real class refactoring.