Refactor support of modules
Add registry for UI components to view and edit properties