add classpath, rm unnecessary files