adding endpoint to format the input json
moving js and css files into their own directories