publish

refactoring, test mocha