Move code in a class | add examples files | wip package.json