reorganized code
update dist