Add proper dependencies for spark