changed apt install order of tools and apts
added xinput
updated to reflect .Xresources chnages
added -y to purge command
fixed typos/refactoring errors
changed order of some commands
fixed several bugs in installFromDir