Created domain classes (closes #5)