CF Spark tutorial