Reorganizes classes in panifex-security-persistence module

Fixes unit tests