All program logic from form-classes moved to model classes.