Describe the purpose of the National Electrical Code (NEC), reference NEC code, and explain current applications of the NEC code in residential and industrial settings.