Better, safer and faster threading support
No need for ctpl library anymore
Better build system, added gmock for unit tests
Fixed merged conflicts