Added Spark Backend and made the appropriate changes.