added read to mongo and updated to java 8 and used new lambda and stream