create domain classes