Initial commit on the clock code

Nothing more to say