added mongodb libraries, switched to new redis syntax