added method for substituting references in strings with referenced values at run time and updated text fields in current model classes to use new method