Builds the interface structure from userInput