Controller and service for exercises