In a storage unit that is attached to a home. What is the proper and safe way to install a lightening source? For example, the storage units light is place on a electrical light fixture with a string attached to turn on. Is that up to code? Referencing to 2014 NEC edition.