Well done Tim!
The Features module does what you're looking for. It will package nodes, blocks, views and all into a special kind of module (php code). Profiler is another module I find very useful. It provides shortcuts for writing install profiles. Finally, the
drush make-generate command generates a makefile for an existing website. Lots of coll stuff out there.