Introduced redis. Remade dao. Reconfigured event handling. All working once more with redis.