Added in clock and clock customization.
Tweaked main and functions further.