Introduction to the Theory of Bases