Added basic functionality to the app.