revamp of Redis connection
unneeded function
Settings.hs should not be added to repo