Moved all files other than .php files to the resources folder. Also removed redundant resource loading at the bottom of some pages.