Added dependency for spark to the pom.xml file