removes core framework files, dirs