Refactoring+Improvements

- moved exceptions to util module
- refactored Publicher REST API