Added method for getting the concrete type of an interface of a template,
Added in index field mapping for TemplateId and ItemId,
Started implementing Search method on factory