yet more parsing/template/export work...bout ready for some trial runs
and bugfixing