Updated domain model with constraints, bootstrap some testdata, updated hsa api