support using custom redis database, fixes #173