Add persistence code

Note to self: persistence does not have an ‘A’ in in…