Refactors setup tasks and abstract manager class