Refactor, getting rid of both Worker and ResourceHandler classes, hopefully improving the fundamental design, while still allowing to reintroduce some abstraction in the future.