updated rakefile. Made map an actor