Adding package.json, ignore .env files, and refactor cache