Revert "Delete ui_module.h"

This reverts commit 0eba43bbfb19f77e697c58f07c6501fba69bcad3.