Refactor some code into resource_task