inline frequently used templates instead of using ERB

- cleanout some code not used in renderer
- remove debug output in renderer (will rewrite w/ something cleaner)