adding domain class for initialization of apiObjects