Update main.sh

- Added the ChrUbuntu runonce process to determine when the partitioning process is done
- Added the download process for elementary OS system files
- Added validation to ensure not to create already existing folders