rename spark.jar to __spark__.jar and app.jar to __app__.jar to avoid confliction
apped $CWD/ and $CWD/* to the classpath
remove unused methods