Added timer code

Signed-off-by: Sriharsha <helpzuna@gmail.com>