Add component.json

Closes #2.