Refactored AccountPersistence to implement the Service interface.