Desktop: Extract Clock and Handler implementations to new classes