remove foma, set classpath while calling java via service, remove unnecessary files