refactor heideltime initialization