Doctor Moon

A Doctor Moon was an artificial moon that maintained the computer systems on the planet it orbited through wireless connection. Though its real form was a man-made satellite, one could exhibit its own unique personality and identity in the virtual world.

The Doctor Moon of the Library
One such moon was built by Felman Lux, Strackman Lux's grandfather, to protect CAL, his youngest daughter who became the Library's computer and was given an imaginary world in which to play while in control of the Library. He was a virus checker designed to monitor CAL's systems and her spiritual well-being. He continued to perform these functions during the Vashta Nerada crisis. His presence stopped the Tenth Doctor's sonic screwdriver working when nightfall arrived and his physical body came in range.

In Charlotte's virtual world, Doctor Moon manifested himself as a human doctor, who was charged with checking up on her health at frequent intervals. He advised her to save the others in the Library until she overloaded and switched him off. When the Doctor saved River Song into CAL's imaginary world, the Doctor Moon was back online, protecting CAL, River and the rest of the team, except for Strackman Lux, who survived the events. (TV: Forest of the Dead)

Function
In the virtual world he could control people's memories, including CAL's, using the simple sentence "And then…” followed by whatever command he wished, from forgetting something to remembering something. (TV: Silence in the Library/Forest of the Dead)