Added comments to uiController module