First commit!

The code is uglier than http://bit.ly/1iw60tv. And yes, that's a parrot.
Cleanup coming soon!