Adding Clock class for which one can specify the frequency.