[refactor] follow a singleton pattern for the networks