created teamAdapter class that saves JSON data to local storage