create Service class