Moved the UI registry to a separate module