Changed sensor interface.
Added timer interface.