refactors Rakefile