Added TimerManager

This helps control the thread that is running so as to stop it
whenever.