Set up pulling the data for the model from the database

Set up pulling the data for the model.html from the database. Also set up the link to be working for the model.html page.