Added domain class properties and created relationships