fixing module dependencies and using uicommons for registration