Updated README with basic instructions.
Cleaned up the code a bit and made it a bit more robust.
Merge pull request #1 from nathan-osman/master

Cleaned up the code a bit and made it a bit more robust.