Created Domain class to be able to use domain pointers in domain items