refactored bootstrap.sh into seperate functions. Fixed an installer bug that caused dead and circular symlinks and also failed at git clone.