add root-parse fn to core.clj
added template support
fixed doc string
updated docs to reflect recent changes