dealing with saving and loading state for different block managers
Refactoring in OS and threads