Updates on Model and Template, changes routing.

DBModel now works properly, Template added support for inserting additional
templates into a template. Changed routing - now attempts routing with various
routers until success or all routers are spent.