Move TEA into PilotProject to reduce dependencies