extract the service class