Added a populateFromURL method to the NetworkData class and refactored the
code to make it work! Also updated the test code, but the test code does need
more work.