Created a model and rendered the model data using a template