[php] Change path to assets, reword comments
[php] removed redundant script, use api for function
[php] changed path to custom functions to library
[php] fixed format of script setup to have it show in footer
[php] chnaged the name of the custom functions folder to library
[structure] added asset folders