Move main js into lib/
Add component.json