add log4j support. Still need to finish mongodb auto deployment.