APA-3: Refactored apa-persistence. Changed the persistence API. Changed how the logger is created.