*First pass at self defining templates.
*added partials.