Moved ClayPit to its own file