adds first classes for the mai model