disabled redis by default and code cleanup