Changes made to AddPoint and AddPoints.

Code was reorganized into separate files.