Implement init() and chunkComplete() methods. Cleanup.
Merge pull request #4 from mikehaertl/master

Implement init() and chunkComplete() methods. Cleanup.