added reddis dao + many other changes