First version of working app.