removed lib module and moved redis stuff into redis backend module