added in a small template mechanism so you can now override the widgets templates

added in a small template mechanism so you can now override the widgets templates