add package.json, use logger