What are the three main classes of elements in the periodic table?