Add license and adding npm packages to make more reactjs friendly