add method to add a redis object directly, instead of port and host