added and updated files with latest code