preliminary package.json, refactoring