add superclas MoveCoordinates and refactors pieces