Updated command to use seperate 'executor' in charge of handling and executing tasks