Added timer

Also tested animation with timer. For now using the fixed timestep as
the dt for animations so the maximum granularity for animation frame
timing is currently 10ms.