changed ThreadPool to make implementable task container
add const to methods to Clock and added tests