return only commands
looking for tasks by name
modified return value
added some methods for task handling