First attempt at writing app.