Network helper rewritten as a singleton class