Repackage and polish Rakefile.