Added basic function to get data from the json api
More TODO work