add a Rakefile and modify setup