Creates domain classes