update config_example, add functions in clock and calendar modules