create the domain classes and prepare the ui files