improved api
updated component.json
updated readme