need to do some finishing work on pointers within sets & relationships (add checking to make sure the model is valid)