Add rakefile and scheduler task