fix namespace doc
templates moved to dir
refractored rendering templates