Cleaned up the code a lot.
Transfered a non-complete test from Naoshi. Will finish it when I get an idea how to.
Version bump to 0.0.3
Regenerate gemspec for version 0.0.3