refactor class names, add example, add dist