add missing file to component.json and add `add` `rm` methods to element