Get rid of mutable globals.
Add version; set it to 0.1.0.