Initial commit on the clock code

Nothing more to say
Merge pull request #1 from tentom/local_fork

Initial commit on the clock code