Added documentation.  Moved config to Rakefile.