move comment blocks, generate docs, add package.json and changelog