 
     defp requests(path) do
         case get(path) do
+            ## TODO: add more cases.
             %Tesla.Env{status: 200, headers: headers, body: body} -> %{:headers => headers, :body => body}
             %Tesla.Env{status: 500, headers: headers, body: body} -> %{:headers => headers, :body => body}
             %Tesla.Env{status: 404, headers: headers} -> %{:headers=> headers, :error => "Error: 404 page not found."}

    end

    def tour_list do
        requests("/tour/list", "")
    end

    def tour_next do
        requests("/tour/next", "")
    end

    def tour_restart do
        requests("/tour/restart", "")
    end
    
    defp shutdown(pid, term \\ []) do


    ##Currently throws an error due to the size of JSON response.
    def repo_verify do
        requests("/repo/verify")
    end

    #Update function  - takes in the current args for update.
