Creation of the ActivityAdmin class with some defs that will be used for some classes.