Db transfer

new db is working, but redis not active yet. 
i've tried to automize the sql_q file (queries part) but it didnt work.. or it'd take more time.. also i didn't want to change the rest of the code a lot.. 
It'd be cleaner to add this to the QUERYSTRINGS dict instead of redefining it for each iteration of this for-loop.