Add details model

Add a model to collect the data necessary for the details view.