refactored file structures and context from .json to .js
removed deleted files from index