added timer directive, created style structure