huge refactor effort, code works better and is easier to read/follow. Now site is the root and all resources are in a sites folder to show the parent child relationship on how everything starts at a site.
Updated tests and examples for changes.