Some base data.
Updated a few tpls to cope with smarty versions that don't like quoted
{foreach from ...} fields
Added a bunch of code to make it easier to build up the system from
scratch.