Add <timer> and use it instead of primitives.
Remove primitive-start/stop-timer.