Refactoring and operation success

- factor out reusable units for easier maintainance and testability
- check success of operations with status service
Just out of curiosity, what is this?