Massive slew of changes as part of refactoring unit ids to uuids. Builds
but does not load scenarios.