Spark Execution Model and APIs