Title: Foundations of the Theory of Algebraic Invariants