Introduced clean hierarchical build

This needs a little review adaptation for other codes, esp GEANT