Added Template module.  More DBI design work.