adding package.json and persist as dependency