Adding reddis functionality to the application