add ruby detection to installer
refactor package into Package