Revert "first attempt to parallelize the application"
This reverts commit 7ea3a74cf02c2408f927f37789b7bc3c1ffc4bcc.

Moved threading attempts to another branch