Adding spark library