add explicit Rakefile and remove generation task closes #925
fix type and generate Rakefile.tt