added documentation to timer class