Removed templates from templates and moved to base.mako