Refactoring, init script installation, multi-distro support