improved threading folder, renamed and added files