created controls class
added timer class and show timer progress in ui
make timeline interactive
refactor timer to use it's own event hooks, re-start timeline when toggling loop