add module export. fix readme and package.json