Split build.sh into setup.sh and build.sh

This allows me to build the project without completely
rebuilding it
Merge branch 'repository_setup'