Refactored network autodection code