Spark upgrade for 5.6

This upgrade cleans the Spark library and adds some components.