All main classes and database update