RPM + Templates mods

Exported cores information from Template class
Mod Rakefile to generate RPM