add code samples for component, gadget, launch