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