New RPM package slac, many bugfixes

- add new RPM package slac and update license in spec file
- fixes for issues #19, #20, #21, #27 #28
- minor fixes