Adding main classes