fixed .gitignore and Rakefile, other changes as recommended