Major cleaning files

- added debug options for content partials