Add component build support.
Add component.json.
Fix component.json.