Finishing the commenting and proper code structure
Finshed product for Industrial Functions