remove pthread dependency
refactoring of namespaces