Deleted many old unusued files and fixed DetectorConstruction, no more segfault (it seems)