Attempted Cleanup

Started as PEP8'ing the thing, then kept going. I wouldn't merge this as it's incomplete (readme and such need to be updated for example), but I would like input.

Only tested on 10.8, and requires docopt (`pip install docopt`)