Changed minute and hour constants to local. Added some documentation for clock.