remove mongodb and log4j from java code for now