Started some refactoring.
- Move the drawing work to a separate file.
- Store attributes to allow for command line options to specify attributes
  (eventually).
Random progress commit.
Draw -> Bar, better initializations, other cleanups.
Mostly done refactoring, a few cleanups to do.
Small cleanups, removed x/y attributes.
Version bump.