Added StaticIntegerRange, some template utils and a sample.