Added command line flags and comments.

Cleaned up code and added a sample zip file.