add clock and timer directives
use new directives
Add directive styles