Make packet handling its own library, temporairily remove redis persistence.