placed storing of the samples into thread pool
cleanup, add timer.h to time the code
added constructor in timer.h to be able to name the timer
deleted redundand timer.h include