added rakefile and analytics code