Refactored SNMP lib