REMOVED: Debug code :)
Integrated publish  persistence api into service