remove pthread dependency
refactoring of namespaces
Merge pull request #1 from Jean-Emile/based_boost

Based boost