Add rakefile
Add instructions for rakefile, minor tidy up, remove trailing whitespace