Reworked JSON structure and implemented "New Gadget" feature.