Added functionality to get actual API data
core-ajax is no longer needed