Refactoring 

- moved exceptions to util module
- refactored Publicher REST API