create_clock_model function

General function to create a clock model