Add TaskRegistry::register & getTasks