add rakefile doc target
rdoc comment everything + refactor