Made connection to the persistence layer and the service layer so it would append data to the view.