Massive change to allow it to create elements

Elements in the parent path that don't exist are now created
automatically. Major changes. At least preliminarily works