break up toto.rb into something a little less unwieldly.
move more config into config.rb
sort the requirements
make autotest work
replace ##STATIC## in templates with static path.