The service layer