added templater, bug fixes & Global data path