Add rudimentary support for legacy gadgets

(only one gadget supported)
Should we add a conditional? We don't want to be linking legacy directory for non-legacy gadgets, right?