Added clock and example behaviour code stuff.
Merged.