Revert "Adds use of uri in connection to MongoDB instead of host and port"