[Scripts] ScriptLoader: Structure Change Update
* Removed extern from Script Loader
* Updated all scripts, so they have their own script function
* Cleaned up the source.