rakefile and code formatting