Added pacman

Added pacman
various other changes