First commit

Incomplete (functional, but doesn't clear progress bars and has a few bugs).
Posted as a code sample for my inclusion in DeveloperAuction