Adding NetworkDataManager saving functionality and tests

Implemented saving and some small concurrency fixes in the NetworkDataManager. Adding base tests.

Closes #78