Yang-Mills theory I