Added csv persistence feature