Split UI into separate modules.