time-cube: initial commit for time-cube rewrite