creating the view
creating a model to abstract the api