renamed ext_core folder to refinements
changed Thread monkey patch to refinement

Adjusted code everywhere so that it works
Fixed missing using in Task

Forgot to add it there. Seems like the tests don't fully cover that. They must have passed because they use mocks to check calls on thread.