Small refactoring. Tasks specific code moved to a separate folder.