add domain and service class