Improved the composition speed by compiling it into argument call. Removed unsafe thread code.
Removed unused class
Merge pull request #185 from lyncodev/concurrency-issues

Improved the composition speed by compiling it into argument call