Initial refactor of most pyGDP functions.

Here is the first go at the refactor. Commits were done on skochaver-USGS and should, hopefully, be easy to trace for review.