Load network into memory at the beginning.