Updated the options.
Adding templates file.
Use template ids for keys instead.
Use template id to get the collection from db.
syntax
Require templates.
Handle undefined template.
Removed debugger.
Pass template field.