In this PR, changes have been made to multiple layers to ensure it works in multi-process environments. However, during the testing phase, there wasn't a significant speed improvement with multi-process, so we've decided to limit it to general refactoring to avoid added complexity.
Related to #8.
In this PR, changes have been made to multiple layers to ensure it works in multi-process environments. However, during the testing phase, there wasn't a significant speed improvement with multi-process, so we've decided to limit it to general refactoring to avoid added complexity.