Add object persistence with pickle