removed old files, added scripts, fixes to Makefiles