update package.json, basic connecting code