Added Clock and Time classes
Updated the examples to use the Clock and Time classes