Added mongoSample and log4j sample