Created Domain class.