Created model for handing redis database interactions