Add clock class that returns a timestamp