Separated setup.sh into several files handling specific aspets of the setup.