Added configuration feature to main_clock.java