reorganized the Piece file and set up the runner