First working cut of the app.