Clean up old foo() function.
Move templates into /templates/default for easy support of multiple templates.