Add publish class, move methods there
Add RPM repo support, move classes to lib/ to make the Rakefile look more readable