Modified the model classes to have self-instantiaitions from remote