After doing #31 we can refactor the NewStack component to be much simpler. At the moment it's a big mess of juggling input, data, output.