Task runner

Added in a static task runner that creates a task object and immediately runs it