Moved redis logic into it's own promise aware file