using threads
Merge branch 'master' of https://github.com/Jedyny/cnp