delete old architecture of modules