add rake tasks and change rakefile