Some more pg persistence also maybe redis dont know if I've commited since then