Now can load data from rest api into map and list