Preparing the split between the ui and the components.