changed parent type of network manager
added models from core data
added saving methods to data manager