Adding of a constructor for Service class and his sub-classes.