App which can be assembled to jar and run on the spark cluster