On a new definition of a form bundle and its applications to Yang-Mills theory