added legacy folder
updated references in index.html