Implement the data structure for the app.