Add rakefile and split files into partials.