Setting the Stage: Planet Formation and Volatile Delivery