added concurrency stress tests and refactored accordingly
Merge branch 'develop' of https://github.com/kbokarius/oiot into develop