It was not established it was codified. The essentials of the Traditional Mass date back to the time of the apostles.
The essentials of the Novus Ordo also date back to the time of the apostles.