Added dependency for spark, don't know if we need it, getting errors when running spark and was trying to fix them.
Changed main a little bit, just to get spark to work.