Getting main working.

Yeah, using this to learn Ruby, if it isn't obvious. :)