Put all the code together into a semi-functional app.