Adding NetworkDataManager saving functionality and tests

Implemented saving and some small concurrency fixes in the NetworkDataManager. Adding base tests.

Closes #78
Depends on #77 being merged first