major cleanup of device makefile, relocation of text files to device folder