Timer class used everywhere for delay based operations