Removed redis completely, fixed some bugs.