Refactored code for SNMP traps and NXSL scripts and implemented guids for both objects.