Service class with scheduler