User spark to implement some algorithms.