made everything create core files and put them in a smart place
2 files changed