init redis in main file, then pass around