Added simple timer directive and timer class