Automatic car headlights system

While driving home on a night, I thought of designing a system, where the headlights of a vehicle will be automatically turned on when the ambiance light gets darker. I bet, its just a simple electronic circuit with few components and photometer as the light sensor. I dunno why car makers still dont implement this…