added removePiece functionality to controller