KJ edits

adjusted import statements, added lots of code, reorganized "main"
Merge pull request #3 from kansasgis/master

KJ edits