Facilitating DER energy services for grid management via OS4ES: Aggregated flexibility, class model and matching algorithms