The Fundamentals of Dimension Theory