removed all files, removed printf error checking, organized files somewhat in folders