Adds icons in legend, text to popups, splits json file