Configure and launch spark