refactroing of timebar controller, added timerbar service