Adds main classes