Measure setup, loading of model/reference set, seperately.

Added exception throwing so it would compile.