Added from-code to readme and fixed mongo vars.