The role of architect was usually one with that of master mason, or Magister lathomorum as they are sometimes described in contemporary documents.
What is another term for master mason?
Magister lathomorum