templates working with new lib
created rpm class, big refactor
mostly cleanup, pep8 stuff
fixed requires generation