finished integration of codegenerator into UiCodeGenerator