[#105] Refactored for thread safe timer
[#105] Added real vs CPU time and now it is thread safe
[#105] Now records lock time
[#105] Fix memory leaks
[#105] Unit tests
[#105] Docs
fixes #105