Added Component(1) support

By adding a component.json file we can add Moment as a dependency in Component