Implement task scheduling/submission in TaskManager