Added redis capability to choose host database

Dear kayzh,

you might want to consider a pull of my changes.