Revert "Revert "Revert "General update of most files and added a preinstall.sh"""

This reverts commit abc7b41f2a63df5e3dd10d015f7b37f1371094ee.
Revert "Revert "General update of most files and added a preinstall.sh""

This reverts commit 9c2713046e1b882169a12c9aaab0cdb727b6fbba.