Creating a master getData function
One request to rule them all (get data from all sources)
Log when complete successfully
modified flatten2dArray()