remove redis, move to sqllite, postresql