a simple metronome coded in JAVA with some design pattern