Move rake task to lib/tasks dir

Just clean up Rakefile