added datacontract to entities