removd unnecessary files, added latest code