WIP. Allow to use from the command-line with arguments. Correct issue with ancestors. Delete still does not work