took evaluationtool code out of the old saim code and put it here.