fix npm structure. fix bugs. change version.