Move PieceType in separate file