CCD Photometry, Part One