Refactor Thredded role to multiple task files